﻿using System;
using Newtonsoft.Json;

namespace ChinaTax.LeQi
{
    public class UploadInvoiceSumConfirmRequest : Request<UploadInvoiceSumConfirmResponse>
    {
        public UploadInvoiceSumConfirmRequest()
        {
            ServiceCode = "SCFPHZQRXX";
        }

        [JsonProperty("xsfnsrsbh")]
        public string TaxNo { get => LeQiConfig.TaxNo; }

        [JsonProperty("xsfsjswjgdm")]
        public string ProvinceTaxAuthorityCode { get => "????"; }

        [JsonProperty("ywlx")]
        public string Type { get; set; }

        [JsonProperty("ptbh")]
        public string PlatformNo { get => LeQiConfig.LeQiId; }

        [JsonProperty("yf")]
        public string Month { get; set; }

        [JsonProperty("lzfpsl")]
        public string BlueInvoiceCount { get; set; }

        [JsonProperty("lzfpje")]
        public string BlueInvoiceAmount { get; set; }

        [JsonProperty("lzfpse")]
        public string BlueInvoiceTax { get; set; }

        [JsonProperty("hzfpsl")]
        public string RedInvoiceCount { get; set; }

        [JsonProperty("hzfpje")]
        public string RedInvoiceAmount { get; set; }

        [JsonProperty("hzfpse")]
        public string RedInvoiceTax { get; set; }

    }

    public class UploadInvoiceSumConfirmResponse : Response
    {

    }
}
